|
JOIN NET GAME
This command will join a currently running net game session.
JOIN NET GAME Session Number, Playername
Session Number
Integer
To join a net game, you must first find one using PERFORM CHECKLIST FOR NET SESSIONS, From this you can find the Session Number required to join the net game
Playername
String
The Playername is the name the player uses when entering the net game session
This command does not return a value.
To join a net game, you must first find one using PERFORM CHECKLIST FOR NET SESSIONS. From this you can find the Session Number required to join the net game. The Playername is the name the player uses when entering the net game session. If the specified session does not exist, or there are too many players in the session, this command will fail.
perform checklist for net sessions
cls
print "SESSIONS (Found on the Selected Connection)"
for c=1 to checklist quantity()
print c;". ";checklist string$(c)
next c
SessionIndex=0
if checklist quantity()<>0
while SessionIndex<1 or SessionIndex>checklist quantity()
print : input "Select A Number>";SessionIndex
endwhile
endif
if SessionIndex=0
PlayerMax=4 : KindOfGame=1
create net game "gamename", "playername", 4,1
else
join net game SessionIndex, "playername"
endif
if net game exists()=1
print : print "GAME SESSION STARTED"
else
print "COULD NOT CREATE A SESSION"
endif
MULTIPLAYER Commands Menu
Index
|